#ifndef _ENGINE_H
#define _ENGINE_H

#include "common.h"

class RenderSys;
class Gui;
class City;
class MusicPlayer;

class Engine
{
    public:
    Engine();
    void init();
    void loop();
    void eventHandle(sf::Event event);
    void update(double dt);

    private:
    RenderSys* render;
    Gui* gui;
    sf::RenderWindow* window;
    MusicPlayer* music;
    City* city;

    bool running;

    void takeScreenshot();
};

#endif
